package org.to_zero.springboot.springbootquick.entities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

@ApiModel(value = "org-to_zero-springboot-springbootquick-entities-Auth")
@Data
public class Auth implements Serializable {
    /**
     * 权限id
     */
    @ApiModelProperty(value = "权限id")
    private Integer id;

    /**
     * 权限名称
     */
    @ApiModelProperty(value = "权限名称")
    private String name;

    /**
     * 权限编号
     */
    @ApiModelProperty(value = "权限编号")
    private String code;

    /**
     * 父级权限
     */
    @ApiModelProperty(value = "父级权限")
    private Integer pid;

    private static final long serialVersionUID = 1L;
}

